package com.ldk.framework.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.ldk.base.framework.entity.BaseEntity;

/**
 * RoadLine实体类
 *
 * @author xiangwl
 */
public class RoadLine extends BaseEntity {

    private static final long serialVersionUID = -4005359952838181792L;
    /**
     * 专线ID
     */
    private java.lang.Long roadId;
    /**
     * 所属服务业务代码
     */
    private java.lang.String serviceCode;
    /**
     * 路线名称
     */
    private java.lang.String roadName;
    /**
     * 专线起点名称
     */
    private java.lang.String startName;
    /**
     * 终点名称
     */
    private java.lang.String endName;
    /**
     * 起点经度
     */
    private java.lang.Double startLon;
    /**
     * 起点纬度
     */
    private java.lang.Double startLat;
    /**
     * 终点经度
     */
    private java.lang.Double endLon;
    /**
     * 终点纬度
     */
    private java.lang.Double endLat;
    /**
     * 基础里程(单位:km)
     */
    private java.lang.Double   mileage;
    /**
     * 基础价格
     */
    private java.lang.Double   price;
    /**
     * 超出基础里程后每公里单价
     */
    private java.lang.Double kmPrice;
    /**
     * 收费比例
     */
    private java.lang.Double chargeRatio;
    /**
     * 分公司收费比例
     */
    private java.lang.Double subChargeRatio;
    /**
     * 操作时间
     */
    @JSONField(serialize = false)
    private java.lang.Long operateTime;
    /**
     * 操作人
     */
    @JSONField(serialize = false)
    private java.lang.String operator;
    /**
     * 是否启用1启用0禁用
     */
    @JSONField(serialize = false)
    private java.lang.Boolean enabled;

    /**
     * 关联服务业务
     */
    @JSONField(serialize = false)
    private ServiceConfig serviceConfig;

    public java.lang.Long getRoadId() {
        return roadId;
    }

    public void setRoadId(java.lang.Long roadId) {
        this.roadId = roadId;
    }

    public java.lang.String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(java.lang.String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public java.lang.String getRoadName() {
        return roadName;
    }

    public void setRoadName(java.lang.String roadName) {
        this.roadName = roadName;
    }

    public java.lang.String getStartName() {
        return startName;
    }

    public void setStartName(java.lang.String startName) {
        this.startName = startName;
    }

    public java.lang.String getEndName() {
        return endName;
    }

    public void setEndName(java.lang.String endName) {
        this.endName = endName;
    }

    public java.lang.Double getStartLon() {
        return startLon;
    }

    public void setStartLon(java.lang.Double startLon) {
        this.startLon = startLon;
    }

    public java.lang.Double getStartLat() {
        return startLat;
    }

    public void setStartLat(java.lang.Double startLat) {
        this.startLat = startLat;
    }

    public java.lang.Double getEndLon() {
        return endLon;
    }

    public void setEndLon(java.lang.Double endLon) {
        this.endLon = endLon;
    }

    public java.lang.Double getEndLat() {
        return endLat;
    }

    public void setEndLat(java.lang.Double endLat) {
        this.endLat = endLat;
    }

    public java.lang.Double getMileage() {
        return mileage;
    }
    public void setMileage (java.lang.Double mileage){
        this.mileage = mileage;
    }
    public java.lang.Double getPrice() {
        return price;
    }
    public void setPrice (java.lang.Double price){
        this.price = price;
    }

    public java.lang.Double getKmPrice() {
        return kmPrice;
    }

    public void setKmPrice(java.lang.Double kmPrice) {
        this.kmPrice = kmPrice;
    }

    public java.lang.Double getChargeRatio() {
        return chargeRatio;
    }

    public void setChargeRatio(java.lang.Double chargeRatio) {
        this.chargeRatio = chargeRatio;
    }

    public Double getSubChargeRatio() {
        return subChargeRatio;
    }

    public void setSubChargeRatio(Double subChargeRatio) {
        this.subChargeRatio = subChargeRatio;
    }

    public java.lang.Long getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(java.lang.Long operateTime) {
        this.operateTime = operateTime;
    }

    public java.lang.String getOperator() {
        return operator;
    }

    public void setOperator(java.lang.String operator) {
        this.operator = operator;
    }

    public java.lang.Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(java.lang.Boolean enabled) {
        this.enabled = enabled;
    }

    public ServiceConfig getServiceConfig() {
        return serviceConfig;
    }

    public void setServiceConfig(ServiceConfig serviceConfig) {
        this.serviceConfig = serviceConfig;
    }

}
